/*
 * @Description: 病虫害记录
 */
// import zhreq from "@/api/axios-twoline";
import zhreq from "@/api/axios";
export default {
  /**
   * @description: 存储虫害识别信息
   */
  savepestdisting(params) {
    return zhreq.post("v3/insectSituation/discern/add", params)
  },
  /**
   * @description: 获取最近的虫害识别信息
   */
  getpestdisting() {
    return zhreq.get(`v3/insectSituation/discern/queryLastOne?organizationNo=${sessionStorage.organizationNo}`)
  },
  getpestCondition(params) {
    return zhreq.post(`v3/insectSituation/discern/queryByCondition`, params)
  }
}
